﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="prescription.aspx.cs" Inherits="MxWeiXinPF.Web.shop.prescription" %>

<%@ Import Namespace="MxWeiXinPF.Common" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>上传处方</title>
    <meta charset="UTF-8">
    <meta name="viewport" content=" initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <script type="text/javascript" src="../scripts/jquery/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" src="../scripts/jquery/Validform_v5.3.2_min.js"></script>
    <script type="text/javascript" src="../scripts/datepicker/WdatePicker.js"></script>
    <script type="text/javascript" src="../scripts/swfupload/swfupload.js"></script>
    <script type="text/javascript" src="../scripts/swfupload/swfupload.queue.js"></script>
    <script type="text/javascript" src="../scripts/swfupload/swfupload.handlers.js"></script>
        <script type="text/javascript" src="../admin/js/layout.js"></script>
    <link href="../admin/skin/default/style.css" rel="stylesheet" type="text/css" />
            <link href="/shop/templates/default/css/style.css" rel="stylesheet" />
    <link href="/shop/templates/default/css/templates.css" rel="stylesheet" />

    <script type="text/javascript">
        $(function () {
            //初始化表单验证
            $("#form1").initValidform();

            //初始化上传控件
            $(".upload-img").each(function () {
                $(this).InitSWFUpload({ sendurl: "../tools/upload_ajax.ashx", flashurl: "../scripts/swfupload/swfupload.swf" });
            });
        });
    </script>
</head>
<body class="mainbody">
    <form id="form1" runat="server">
    <input id="hwid" type="hidden" runat="server" />
    <input id="hid" type="hidden" runat="server" />
    <!--内容-->
    <div class="tab-content">  

        <dl>
            <dt style=" width:65px; text-align:center">处方图片</dt>
            <dd style="margin-left:75px"> 
                 <asp:TextBox ID="txtAvatar" runat="server" CssClass="input mid upload-path"></asp:TextBox>
                    <div class="upload-box upload-img"></div>
            </dd>
        </dl>
         <dl>
            <dt style=" width:65px; text-align:center">处方说明</dt>
            <dd style="margin-left:75px">
                <asp:TextBox ID="txtRemarks" runat="server" CssClass="input txt" datatype="*0-255"
                    errormsg="" sucmsg=" "></asp:TextBox></dd>
        </dl>        
    </div>
    </iframe>
    <!--内容-->
    <!--工具栏-->
    <div class="page-footer">
        <div class="btn-list" style=" text-align:center">
            <asp:Button ID="btnSubmit" runat="server" Text="提交保存" CssClass="btn" OnClick="btnSubmit_Click" />
            <asp:Button ID="btnHome" runat="server" Text="返回" CssClass="btn yellow" 
                onclick="btnHome_Click" />
        </div>
        <div class="clear">
        </div>
    </div>
    <!--/工具栏-->
    </form>
</body>
</html>
